import React, { Component , Fragment} from 'react';
class degzj extends Component {
  constructor(props) {
    super(props);
    this.state = {  }
  }
  render() { 
    let { leftslot , rightslot } = this.props
    return ( 
      <Fragment>
          <div>第二个组件</div>
          <div>{leftslot}</div>
          <div>{rightslot}</div>
      </Fragment>
    );
  }
}
 
export default degzj;